<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/8/23
 * Time: 15:50
 * 删除角色对应的接口
 */
$op_orid = $route->bodyParams["op_orid"];//主键ID

$whereArr = [
    "op_orid" => $op_orid
];

//执行写入语句
$rsData = $db->mysqlDB->delete("oa_permission",$whereArr,true);

//返回成功结果
$response->responseData( true, $rsData );